<?php
/**
 * Enter description here ...
 * @author Micou13630
 *
 */
class ErrorValidationDao extends DataSetDao {
	
	/**
	 * Constructeur
	 */
	public function ErrorValidationDao($status = IDataSetDao::STATUS_VALIDATION_ERROR) {
		parent::DataSetDao(null, $status);
	}
	
	/**
	 * Defini une erreur
	 * @param unknown_type $field
	 * @param unknown_type $message
	 */
	public function addMessage($field, $message) {
		$this->setError($field, $message);
	}
}